package org.gen.code.gen.domain;

import java.io.Serializable;

public class ColumnInfo implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;

    /**
     * 列名
     */
    private String colName;
	/**
	 * 是否是主键  PRI
	 */
	private String colKey;
    /**
     * 列类型
     */
    private String colType;
    /**
     * 列备注
     */
    private String comments;
    /**
     * 默认值
     */
    private String defaultValue;

    /**
     * 是否允许为null
     */
    private boolean isNullable;
    /**
     * 其他
     */
    private String extra;


	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getColKey() {
		return colKey;
	}

	public void setColKey(String colKey) {
		this.colKey = colKey;
	}

	public String getColType() {
		return colType;
	}

	public void setColType(String colType) {
		this.colType = colType;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public boolean isNullable() {
		return isNullable;
	}

	public void setNullable(boolean nullable) {
		isNullable = nullable;
	}

	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}
}

